﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="default.aspx.cs" Inherits="EMS.reports.income._default" %>

<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="radG" %>
<%@ Register Assembly="RadMenu.Net2" Namespace="Telerik.WebControls" TagPrefix="radM" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="searchform">
        <tbody>
            <tr>
                <td class="label_display">
                    Gelir Tipi
                </td>
                <td>
                    <asp:DropDownList ID="ddlINCOMETYPE" runat="server" CssClass="editinput" Width="200">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="label_display">
                    Gelir Tarihi Aralığı
                </td>
                <td>
                    <radCln:RadDatePicker ID="rdpSTARTDATE" runat="server" DateInput-DateFormat="dd.MM.yyyy"
                        MaxDate="2050-01-01" MinDate="2005-01-01" Width="110">
                        <DateInput DateFormat="dd.MM.yyyy" Skin="master"></DateInput>
                    </radCln:RadDatePicker>
                </td>
            </tr>
            <tr>
                <td class="label_display">
                    &nbsp;
                </td>
                <td>
                    <radCln:RadDatePicker ID="rdpENDDATE" runat="server" DateInput-DateFormat="dd.MM.yyyy"
                        MaxDate="2050-01-01" MinDate="2005-01-01" Width="110">
                        <DateInput DateFormat="dd.MM.yyyy" Skin="master"></DateInput>
                    </radCln:RadDatePicker>
                </td>
            </tr>
            <tr>
                <td class="label_display">
                    Kullanıcı
                </td>
                <td>
                    <asp:DropDownList ID="ddlUSER" runat="server" CssClass="editinput" Width="200">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <table>
                        <tbody>
                            <tr>
                                <td>
                                    <asp:Button ID="btnSearch" OnClick="btnSearch_Click" runat="server" Text="Ara" />
                                </td>
                                <td>
                                    <asp:Button ID="btnExport" OnClick="btnExport_Click" runat="server" Text="Excel'e Aktar" />
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    <radG:RadGrid ID="rgMaster" CssClass="list" runat="server" Skin="master" GridLines="None"
        AllowPaging="True" AllowSorting="True" Width="100%" AutoGenerateColumns="False"
        PageSize="30" ShowFooter="true" EnableAJAX="true" ShowStatusBar="false" EnableViewState="true"
        LoadingTemplateTransparency="55" EnableAJAXLoadingTemplate="True" OnNeedDataSource="rgMaster_NeedDataSource"
        OnItemDataBound="rgMaster_ItemDataBound" OnItemCommand="rgMaster_ItemCommand">
        <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" CssClass="x-of-y-navigation"
            ShowPagerText="true" PagerTextFormat="sayfaya git: {4} &amp;nbsp;|&amp;nbsp; {1} sayfanın {0}. sayfası, {5} kayıtın {2} ile {3} kayıtı"
            NextPagesToolTip="Sonraki Sayfa" PrevPagesToolTip="Önceki Sayfa" />
        <AlternatingItemStyle CssClass="alt" />
        <SortingSettings SortToolTip="Sıralamak için tıklayın" SortedAscToolTip="Artan Sırala"
            SortedDescToolTip="Azalan Sırala" />
        <MasterTableView GridLines="None" DataKeyNames="INCOMEID" CommandItemDisplay="None">
            <Columns>
                <radG:GridBoundColumn UniqueName="INCOMEID" HeaderText="Gelir ID" DataField="INCOMEID">
                </radG:GridBoundColumn>
                <radG:GridBoundColumn UniqueName="INCOMETYPENAME" HeaderText="Gelir Tipi" DataField="INCOMETYPENAME">
                    <ItemStyle HorizontalAlign="left" />
                    <HeaderStyle HorizontalAlign="left" />
                </radG:GridBoundColumn>
                <radG:GridBoundColumn UniqueName="INCOMEDATE" HeaderText="Gelir Tarihi" DataField="INCOMEDATE"
                    DataFormatString="{0:dd/MM/yyyy}">
                    <ItemStyle HorizontalAlign="left" />
                    <HeaderStyle HorizontalAlign="left" />
                </radG:GridBoundColumn>
                <radG:GridBoundColumn UniqueName="AMOUNT" HeaderText="Gelir Tutarı" DataField="AMOUNT">
                    <ItemStyle HorizontalAlign="left" />
                    <HeaderStyle HorizontalAlign="left" />
                </radG:GridBoundColumn>
                <radG:GridBoundColumn UniqueName="INCOMEUSER" HeaderText="Masraf Ödeme Aracı" DataField="INCOMEUSER">
                    <ItemStyle HorizontalAlign="left" />
                    <HeaderStyle HorizontalAlign="left" />
                </radG:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ExportSettings>
            <Pdf PageWidth="8.5in" PageHeight="11in" PageTopMargin="" PageBottomMargin="" PageLeftMargin=""
                PageRightMargin="" PageHeaderMargin="" PageFooterMargin=""></Pdf>
        </ExportSettings>
        <ClientSettings EnableClientKeyValues="true">
            <Selecting AllowRowSelect="True"></Selecting>
        </ClientSettings>
    </radG:RadGrid>
</asp:Content>
